export default {
  namespaced: true,
  state: {
    token: uni.getStorageSync('token') || ''
  },
  mutations: {
    updateToken(state, token) {
      state.token = token
      uni.setStorageSync('token', token)
    }
  },
  actions: {},
  getters: {}
}